package com.ruoyi.thoroughfare.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * app用户等级业务对象
 *
 * @author Zach
 * @date 2023-11-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppUserLevelBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 等级名称
     */
    @NotBlank(message = "等级名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 分润满足人数条件
     */
    @NotNull(message = "分润满足人数条件不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long frConditionNum;

    /**
     * 分润单个人员满足金额
     */
    @NotNull(message = "分润单个人员满足金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long frConditionMoney;

    /**
     * 分润比例
     */
    @NotNull(message = "分润比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long rebate;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;


}
